function retrieveOne() public pure returns(uint){
return 1;
}
function retrieveTwo() public pure returns(){
return 1;
}
}
A. It’s simply not possible. Smart contract can never run without
compiling the file successfully
B. Because compiling is a different environment from deployment
and running in Solidity
C. You are running the contract from the previous versions of the
already deployed contracts, as she has not cleared the
“Deployed Contracts” section yet
D. None of these
Q11: While writing the smart contracts in Solidity because JavaScript
VM is the preferred environment over Injected web3 vs Web3
Provider, which of the following is true?
A. It will run an isolated Ethereum node in the browser, hence
very useful to test a contract
B. It will be 100% compatible with most versions of Solidity, hence
preferable.
C. JavaScript VM comes free of cost while the other two charge
real Ethers
D. JavaScript VM is not the default browser, all of them are
equally preferable for development and testing
Q12: When we deploy the following smart contract Solidity file on the
REMIX browser on JavaScript VM and run the store function a
number of times, what happens to the Ethers associated with
the account?
//SPDX-License-Identifier: SOME IDENTIFIER
pragma solidity ^0.8.10;